﻿namespace ShureValidation.Language
{
    /// <summary>
    /// All prompts in the system.
    /// </summary>
    public interface ILanguagePrompts
    {
        /// <summary>
        /// Get a language prompt.
        /// </summary>
        /// <param name="modelName">Model to get translation for</param>
        /// <param name="promptName">Text prompt to get</param>
        /// <returns>Translation if found; otherwise "[promptName]" without the quotes.</returns>
        string this[string modelName, string promptName] { get; }

        /// <summary>
        /// Get a language prompt.
        /// </summary>
        /// <param name="modelName">Model to get translation for</param>
        /// <param name="promptName">Text prompt to get</param>
        /// <returns>Translation if found; otherwise null.</returns>
        string Get(string modelName, string promptName);
    }
}